/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmPrincipal.java
 *
 * Created on 18/02/2011, 07:59:07 PM
 */

package interfaz1;


/**
 *
 * @author CLIENTE
 */
public class FrmPrincipal extends javax.swing.JFrame {

    
    /** Creates new form FrmPrincipal */
  

    public FrmPrincipal() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        Btnseccion = new javax.swing.JButton();
        Btnsalir = new javax.swing.JButton();
        Lblprog = new javax.swing.JLabel();
        lblramon = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        lblisbel = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Proyecto Laboratorio I");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel1.setFont(new java.awt.Font("Bookman Old Style", 1, 12));
        jLabel1.setText("\"Sistema RMI\"");
        getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 30, 110, 20));

        Btnseccion.setText("Seccion");
        Btnseccion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnseccionActionPerformed(evt);
            }
        });
        getContentPane().add(Btnseccion, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 120, 80, 30));

        Btnsalir.setText("Salir");
        Btnsalir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnsalirActionPerformed(evt);
            }
        });
        getContentPane().add(Btnsalir, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 120, 80, 30));

        Lblprog.setFont(new java.awt.Font("Bookman Old Style", 1, 12));
        Lblprog.setText("Programadores");
        getContentPane().add(Lblprog, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 190, 100, 20));

        lblramon.setFont(new java.awt.Font("Bookman Old Style", 0, 11));
        lblramon.setText("Diaz Ramon");
        getContentPane().add(lblramon, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 220, 70, 20));

        jLabel2.setFont(new java.awt.Font("Bookman Old Style", 0, 11));
        jLabel2.setText("Sanchez Marivic");
        getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 240, 100, 20));

        lblisbel.setFont(new java.awt.Font("Bookman Old Style", 0, 11));
        lblisbel.setText("Valenzuela Isbeltamary");
        getContentPane().add(lblisbel, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 260, 130, 20));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-502)/2, (screenSize.height-334)/2, 502, 334);
    }// </editor-fold>//GEN-END:initComponents

    private void BtnsalirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnsalirActionPerformed
        // TODO add your handling code here:
System.exit(0);
    }//GEN-LAST:event_BtnsalirActionPerformed

    private void BtnseccionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnseccionActionPerformed

        // TODO add your handling code here:
        Frmseccion frmsec = new Frmseccion();
        frmsec.show();
        dispose();
    }//GEN-LAST:event_BtnseccionActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FrmPrincipal().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton Btnsalir;
    private javax.swing.JButton Btnseccion;
    private javax.swing.JLabel Lblprog;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel lblisbel;
    private javax.swing.JLabel lblramon;
    // End of variables declaration//GEN-END:variables

}
